package tech.eyao.hs60x.dto;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("申请详情")
public class ApprovalDTO {
		
	@ApiModelProperty("ID")
	public long id;
	
	@ApiModelProperty("1：手机 2：设备")
	public int type;
	
	@ApiModelProperty("申请人昵称")
	public String friendNickName;
	
	@ApiModelProperty("申请人手机号")
	public String phone;
	
	@ApiModelProperty("申请人绑定的手表ID")
	public long watchId;
	
	@ApiModelProperty("申请时间")
	public Date date;
	
	public ApprovalDTO(long id, int type, String friendNickName, Date date, String phone, long watchId) {
		this.id = id;
		this.type = type;
		this.friendNickName = friendNickName;
		this.date = date;
		this.phone = phone;
		this.watchId = watchId;
	}
	
	public ApprovalDTO(long id, int type, String friendNickName, Date date) {
		this.id = id;
		this.type = type;
		this.friendNickName = friendNickName;
		this.date = date;
	}

	@Override
	public String toString() {
		return "ApprovalDTO [id=" + id + ", type=" + type + ", friendNickName=" + friendNickName + ", date=" + date
				+ "]";
	}
}
